package com.java110.dto.goodsClass;

import com.java110.dto.PageDto;
import com.java110.dto.product.ProductDto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class GoodsClassDto extends PageDto implements Serializable {
    public static final String TOP_LEVEL_PID = "-1";

    private String classId;
    private String[] classIds;
    private String className;
    private String classPid;
    private String classIdPath;
    private Integer sort;
    private String isUser;
    private String isOutside;
    private Date createTime;
    private String createBy;
    private Date updateTime;
    private String updateBy;
    private String statusCd = "0";
    private String logo;
    private String description;
    private List<GoodsClassDto> children;
    private String text;
    private String icon = "/img/org.png";

    private List<ProductDto> products;

    public String[] getClassIds() {
        return classIds;
    }

    public void setClassIds(String[] classIds) {
        this.classIds = classIds;
    }

    public String getClassIdPath() {
        return classIdPath;
    }

    public void setClassIdPath(String classIdPath) {
        this.classIdPath = classIdPath;
    }

    public List<GoodsClassDto> getChildren() {
        return children;
    }

    public void setChildren(List<GoodsClassDto> children) {
        this.children = children;
    }

    public List<ProductDto> getProducts() {
        return products;
    }

    public void setProducts(List<ProductDto> products) {
        this.products = products;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassPid() {
        return classPid;
    }

    public void setClassPid(String classPid) {
        this.classPid = classPid;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getIsUser() {
        return isUser;
    }

    public void setIsUser(String isUser) {
        this.isUser = isUser;
    }

    public String getIsOutside() {
        return isOutside;
    }

    public void setIsOutside(String isOutside) {
        this.isOutside = isOutside;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getStatusCd() {
        return statusCd;
    }

    public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
